<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form id="loginForm" action="${ctx}/common/checkCode.xhtml" method="get">
		<div>
			<input type="text" id="captcha" name="kaptcha" /> <img alt="验证码"
				src="${ctx}/resources/images/kaptcha.jpg" title="点击更换"
				id="img_captcha" onclick="javascript:refreshCaptcha();"
				style="height:200px; width: 200px; float: left; margin-right: 98px;" />
		</div>
		<div class="login_main_submit">
			<button onclick="">提交</button>
		</div>
	</form>

	<script>
		var captcha;
		function refreshCaptcha() {
			document.getElementById("img_captcha").src = "${ctx}/resources/images/kaptcha.jpg?t="
					+ Math.random();
		}
	</script>
</body>
</html>